<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script src="vue.js"></script>
  <style>
    *{
      padding: 0;
    }
  </style>
</head>
<body>

  <div id="app">
    {{msg}}
    <ul>
      <li v-for="item in movies">{{item}}</li>
    </ul>
  </div>
  <script>
    //参数为对象类型
    const vm=new Vue({
      el:"#app",
      data:{
        msg:"hello",
        movies:['星际穿越','大话西游','少年派','倒霉空间']
      }
    })
  </script>
</body>
</html>